home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 8 / Mac Magazin and MacEasy Magazine CD - Issue 08.iso / Sharewarebibliothek / Utilities / Cron 1.20 ƒ / READ ME < prev   
Text File  |  1994-12-20  |  6KB  |  121 lines

  1. Cron 1.20 is a program scheduling utility similar to the UNIX cron utility. Just make aliases of documents or applications you want Cron to launch periodically, and it will launch them for you when you want.
  2.  
  3. To install:
  4. ---------
  5. Cron is really two things: Crond, which is a faceless background app, and CronMgr, which is a Control Panel.
  6.  
  7. Drag Crond into a folder where you keep applications or utilities.
  8.  
  9. CronMgr belongs in the Control Panels folder inside your System Folder. Drag CronMgr on top of your System Folder or on top of or into your Control Panels Folder. Open the Cron Control Panel check the boxes. Cron is now ready and willing to schedule stuff for you.
  10.  
  11. REVISION HISTORY:
  12.  
  13. Version 1.20 (6/28/94):
  14. • Fixed a bug (an omission, really) which was brought to light when CronMgr was used with Greg's Buttons installed. Thanks to Michel Eytan for finding/helping with that one.
  15.  
  16. Version 1.10 (4/15/94):
  17. • Added the feature that either CronMgr or Crond will create the "Cron Preferences" folder if it can't find one. Thought I'd already done that. Also added the "Now" alias feature.
  18.  
  19. Version 1.00 (4/14/94):
  20. • Initial release. I've been using this thing for quite a long time, but two different people on two different occasions in the same week told me that they would like to see a shareware version of this. I don't know if there is one or not, but here is one.
  21.  
  22. Enjoy!
  23.  
  24. Please report bugs, problems, and suggestions to:
  25. Mark Malson
  26. 914 Richwood Avenue
  27. Hamilton, OH 45013-3829 USA
  28. CIS: [71561,1313]
  29. Internet: markm@xetron.com
  30.  
  31. ----------------------------------------------
  32. The following text is the text from the About... dialog. Print this out if you want a hard copy of the Cron Alias name description.
  33. ----------------------------------------------
  34. About Cron
  35.  
  36. Cron is a utility that automatically launches applications or documents at
  37. times you specify. For example, if you have a mail program that you want
  38. to set up to check for mail every hour, you can use Cron to launch it for you.
  39.  
  40. How to use Cron
  41.  
  42. • Place the "crond" application wherever you normally keep applications.
  43.    I use a "Utilities" folder, the same place I keep Disk First Aid and stuff.
  44. • Place the CronMgr control panel in your Control Panels folder. You can
  45.    do this by dragging CronMgr on to the System Folder and the Finder will
  46.    put it in the Control Panels Folder for you. (Actually, CronMgr can be
  47.    anywhere, but the Control Panels folder is a handy place for it.)
  48. • Open up the CronMgr control panel. Make sure that the "Currently
  49.    Running" and "Launch at Startup" boxes are checked.
  50. • Make Aliases of documents or applications you want to have executed
  51.    periodically. For me, it's usually documents that direct their respective
  52.    applications to do some predetermined function (like a script).
  53. • Put the aliases inside the "Cron Preferences" folder. This folder is inside
  54.    the "Preferences" folder inside the System Folder.
  55. • Rename the aliases to specify when you want them executed. The name of
  56.    the alias is identical in syntax to the UNIX crontab time specifier. If you
  57.    don't know the syntax, see the section below.
  58.  
  59. That's it -- if cron is already running, it will immediately start launching
  60. things at their respective times.
  61.  
  62. Cron Alias Names
  63.  
  64. The syntax for Cron Alias names is somewhat cryptic -- it is identical to
  65. the UNIX crontab syntax for specifying times. The General format is:
  66.  
  67. Minute Hour Date Month Dayofweek, where:
  68.  
  69. Minute is 0-59, (the minute of the hour)
  70. Hour is 0-23, (the hour of the day)
  71. Date is 0-31 (the day of the month)
  72. Month is 1-12 (the month)
  73. Dayofweek is 0-6 (Sunday-Saturday)
  74.  
  75. Each field can specify a single value. That is, if you want something to be
  76. executed on the hour, your minute field would be 0.
  77.  
  78. Each field can be specify multiple values by placing the desired numbers
  79. separated by commas (no spaces!). That is, if you want something to be
  80. launched on both the hour and the half-hour, your minute field would be
  81. 0,30.
  82.  
  83. Each field can specify a range of values by placing the desired numbers
  84. (inclusive) separated by a dash (no spaces!). That is, if you want something
  85. to be launched during the hours of 8 AM and 5 PM, your hour field would be
  86. 8-17.
  87.  
  88. Each field can be a combination of single values and value ranges. That is, if
  89. you want something to be executed on the hour, on the half hour, and every
  90. minute from 45 to 50 minutes after the hour, your minute field would be
  91. 0,30,45-50.
  92.  
  93. Each field can also specify any value by placing an asterisk (*) in the field.
  94. If you don't care what day of the month it is, your month field would be *.
  95.  
  96. There is a special case of Cron Alias Names. If you name an alias "Now" and
  97. place it in the "Cron Preferences" folder, Cron will launch that alias on the
  98. next minute, and then delete the alias on the next minute.
  99.  
  100. Examples of Cron Alias Names
  101.  
  102. 0 * * * * would launch every hour on the hour.
  103. 30 * * * * would launch every hour on the half-hour.
  104. 5,35 * * * * would launch at 5 minutes and 35 minutes after every hour.
  105. 0 8-17 * * * would launch at 8:00 AM, and every hour on the hour until
  106. (and including) 5:00 PM.
  107. 0 8-17 * * 1-5 would launch every hour from 8 to 5, but only on
  108. Mondays through Fridays.
  109. 0 0 1 * * would launch at midnight on the first day of every month.
  110. 5,35 8-17 * 12 2,4 would launch at 5 minutes and 35 minutes after
  111. every hour from 8 AM to 5 PM, every Tuesday and Thursday in December.
  112.  
  113. Cron puts a file in the "Cron Preferences" folder that is named "Min Hour
  114. Date Month Day" so that you can remember the sequence without having
  115. to look it up all the time.
  116.  
  117. General Stuff
  118.  
  119. Crond is a faceless background application. CronMgr is a Control Panel.
  120. They were both developed using THINK C version 5. They require System
  121. 7 or greater.